<?php
class FriendGmDeleteAction extends SzAbstractAction
{
    Protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
    );

    /**
     * 删除好友
     * @param int $userId
     * @return SzResponse
     */
    public function execute($userId)
    {
        return $this->buildResponse(
            FriendService::get()->handleDelFriend($userId)
        );
    }
}